package Homework;

import java.util.Scanner;

public class Exchange_length {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		System.out.println("请输入英寸数：(1英寸=2.54厘米)");
		double in = input.nextDouble();
		double cm = in * 2.54;
		System.out.println("转换后的厘米数为" + cm + "cm");
	}
}
